import request from '@/utils/request';

//文生图
export const textToImage = (data) => {
    return request.post('/dk/v1/imgPlatform/textToImage', data);
};

//图片点选
export const clickSelect = (data) => {
    return request.post('/dk/v1/imgPlatform/clickSelect', data);
};

//图片框选
export const boxSelect = (data) => {
    return request.post('/dk/v1/imgPlatform/boxSelect', data);
};

//图片涂选
export const smearSelect = (data) => {
    return request.post('/dk/v1/imgPlatform/smearSelect', data);
};

//文本分割
export const partitionSelect = (data) => {
    return request.post('/dk/v1/imgPlatform/partitionSelect', data);
};

//主体选择
export const mainSelect = (data) => {
    return request.post('/dk/v1/imgPlatform/mainSelect', data);
};